<?php

namespace App\Models\Order;

use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;

/**
 * Class OrderOption
 * @package App\Models\Order
 *
 * @mixin Builder
 */

class OrderOption extends Model
{
    protected $table = 'order_option';
    protected $guarded = [];

    public function orderProduct()
    {
        return $this->belongsTo(OrderProduct::class, 'order_product_id', 'order_product_id');
    }
}
